#pragma once

#include "hmm.h"
#include <fstream>
#include <vector>

class HMM_Helper
{
public:
	static std::vector<HMM*> ParseHMM(std::string file_path);
	static vector<double> ConvertToDoubleVector(std::string string);
	static vector<double> ConvertToDoubleVectorLog(std::string string);
	static double* ConvertToDoubleArray(std::string string);
	static double* ConvertToDoubleArray(std::vector<std::string> tokens);
	static double** ReadMatrix(std::ifstream& is, int rows, int columns);
	static std::vector<std::string> Split(std::string s);
private:
	HMM_Helper(void);
	~HMM_Helper(void);

};

